Fix app crash on opening search page#9554
Merged
Merged
Conversation
Member
Author
|
@pecanoro wouldn't it be a better idea to fix this at the backend? Because the API is returning wrong data The API is returning App/src/libs/actions/Report.js Line 310 in 3855215 |
Contributor
|
Maybe we should fix it in both places so this does not happen again for any other weird value? |
Member
Author
|
Fair enough, I've marked the PR as ready for review! |
pecanoro
approved these changes
Jun 27, 2022
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
71 tasks
Contributor
Contributor
|
🚀 Deployed to production by @roryabraham in version: 1.1.79-17 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
This PR converts
oldPolicyNameto a string at it's root. i.e. just before storing it in Onyx.Why? see #9487 (comment)
Fixed Issues
$ #9487
Tests
PR Review Checklist
Details
Contributor (PR Author) Checklist### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followed/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)QA Steps
Screenshots
Web
Screen.Recording.2022-06-23.at.11.32.15.PM.mov
Mobile Web
Screen.Recording.2022-06-24.at.10.03.15.PM.mov
Desktop
Screen.Recording.2022-06-24.at.9.53.31.PM.mov
iOS
Screen.Recording.2022-06-24.at.10.01.34.PM.mov
Android
screen-20220624-220856.mp4